#include "prelistitem.h"
#include <QPainter>
#include <QDebug>
PreListItem::PreListItem(const QIcon &icon, const QString &text,const int &index,
                         QListWidget *view , int type ):
    QListWidgetItem (icon,"",view,type),_path(text),_index(index)
{

}

int PreListItem::GetIndex()
{
    return _index;
}

QString PreListItem::GetPath()
{
    return _path;
}


